x11: Only use state of toplevels
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Mar 2020 16:20:07 +0000 (09:20 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 12 Mar 2020 19:30:10 +0000 (15:30 -0400)
commit84095febed8a6360d11fae71c1b17729ae688dfc
treec52eb0608649a3186183d6f6b08eee1b028cf9ff
parent4c06c3bb193d36358c5f56c701cae294f7116c5c
x11: Only use state of toplevels

Other surface subtypes don't have that property.
gdk/x11/gdkmonitor-x11.c